package com.tornado.system.mapper;

import java.util.List;

import com.tornado.system.model.Shopping;

public interface ShoppingMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Shopping record);

    int insertSelective(Shopping record);

    Shopping selectByPrimaryKey(Integer id);
    
    List<Shopping> shoppingList();

    int updateByPrimaryKeySelective(Shopping record);

    int updateByPrimaryKey(Shopping record);
    
    int updateCount(int count,int id);

	Shopping userofshopping(Integer id, Integer goodsId);



}